﻿using System.Windows.Forms;
using ForgeIt.Internal;

namespace ForgeIt.UserControls
{
    internal partial class FoDatabaseConnectionStringUserControl : UserControl
    {
        public FoDatabaseConnectionStringUserControl()
        {
            InitializeComponent();
        }

        internal DataBaseConnectionModel Record { get; set; }

        internal void DataBind(DataBaseConnectionModel record)
        {
            Record = record;
            SuspendLayout();
            dataBaseConnectionModelBindingSource.DataSource = record;
            ResumeLayout(false);
        }
    }
}
